import {defineStore} from "pinia";

export const UseGetAttendanceTimesStore = defineStore({
    id: 'app-GetAttendanceTimes',
    state: () => ({
       data: [],
        task: [],
        flag: true,
    }),
    actions: {
        setAttendanceTimes(data) {
            // @ts-ignore
            this.data.push(data);
            this.flag = false;
        },
        setteacherTask(task)
        {
            this.task = task;
        }

    },
});